Release 10.1A: OpenEdge Data Management:
SQL Reference


TO_NUMBER

Converts the given character expression to a number value.

Syntax

TO_NUMBER ( char_expression ) 

Example

This example illustrates the TO_NUMBER function and the SUBSTR function:

SELECT *
    FROM customer
    WHERE TO_NUMBER (SUBSTR (phone, 1, 3)) = 603 ; 

Notes

Compatibility

Progress extension


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095